package com.ruoyi.buss.report.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.buss.report.mapper.ReportKhqsfxXjfbLsbMapper;
import com.ruoyi.buss.report.domain.ReportKhqsfxXjfbLsb;
import com.ruoyi.buss.report.service.IReportKhqsfxXjfbLsbService;

/**
 * 客户星级分布趋势分析Service业务层处理
 * 
 * @author sxy
 * @date 2021-07-16
 */
@Service
public class ReportKhqsfxXjfbLsbServiceImpl implements IReportKhqsfxXjfbLsbService 
{
    @Autowired
    private ReportKhqsfxXjfbLsbMapper reportKhqsfxXjfbLsbMapper;

    /**
     * 查询客户星级分布趋势分析
     * 
     * @param sjrq 客户星级分布趋势分析ID
     * @return 客户星级分布趋势分析
     */
    @Override
    public ReportKhqsfxXjfbLsb selectReportKhqsfxXjfbLsbById(String sjrq)
    {
        return reportKhqsfxXjfbLsbMapper.selectReportKhqsfxXjfbLsbById(sjrq);
    }

    /**
     * 查询客户星级分布趋势分析列表
     * 
     * @param reportKhqsfxXjfbLsb 客户星级分布趋势分析
     * @return 客户星级分布趋势分析
     */
    @Override
    public List<ReportKhqsfxXjfbLsb> selectReportKhqsfxXjfbLsbList(ReportKhqsfxXjfbLsb reportKhqsfxXjfbLsb)
    {
        return reportKhqsfxXjfbLsbMapper.selectReportKhqsfxXjfbLsbList(reportKhqsfxXjfbLsb);
    }

    /**
     * 新增客户星级分布趋势分析
     * 
     * @param reportKhqsfxXjfbLsb 客户星级分布趋势分析
     * @return 结果
     */
    @Override
    public int insertReportKhqsfxXjfbLsb(ReportKhqsfxXjfbLsb reportKhqsfxXjfbLsb)
    {
        return reportKhqsfxXjfbLsbMapper.insertReportKhqsfxXjfbLsb(reportKhqsfxXjfbLsb);
    }

    /**
     * 修改客户星级分布趋势分析
     * 
     * @param reportKhqsfxXjfbLsb 客户星级分布趋势分析
     * @return 结果
     */
    @Override
    public int updateReportKhqsfxXjfbLsb(ReportKhqsfxXjfbLsb reportKhqsfxXjfbLsb)
    {
        return reportKhqsfxXjfbLsbMapper.updateReportKhqsfxXjfbLsb(reportKhqsfxXjfbLsb);
    }

    /**
     * 批量删除客户星级分布趋势分析
     * 
     * @param sjrqs 需要删除的客户星级分布趋势分析ID
     * @return 结果
     */
    @Override
    public int deleteReportKhqsfxXjfbLsbByIds(String[] sjrqs)
    {
        return reportKhqsfxXjfbLsbMapper.deleteReportKhqsfxXjfbLsbByIds(sjrqs);
    }

    /**
     * 删除客户星级分布趋势分析信息
     * 
     * @param sjrq 客户星级分布趋势分析ID
     * @return 结果
     */
    @Override
    public int deleteReportKhqsfxXjfbLsbById(String sjrq)
    {
        return reportKhqsfxXjfbLsbMapper.deleteReportKhqsfxXjfbLsbById(sjrq);
    }
}
